<%@ taglib prefix="s" uri="/struts-tags"%>

<p>User</p>
<s:if test="users.size > 0">
	<table>
		<s:iterator value="users">
			<tr id="row_<s:property value="userId"/>">
				<td>
					<s:property value="userName" />
				</td>
				<td>
					<s:property value="password" />
				</td>
				<td style="display:none"><s:property value="email" /></td>
				<td style="display:none"><s:property value="sex" /></td>
				<td style="display:none"><s:property value="profile" /></td>
				<td style="display:none"><s:property value="description" /></td>
				<td style="display:none"><s:date name="createTime" format="yyyy-MM-dd HH:mm:ss"/></td>
				<td style="display:none"><s:property value="rankId" /></td>
				<td>
					<s:url id="delUrl" action="del">
						<s:param name="userId" value="userId" />
					</s:url>
					<s:a href="%{delUrl}" theme="ajax" targets="users">Del</s:a>
					<s:a id="a_%{userId}" theme="ajax" notifyTopics="/edit">Edit</s:a>
				</td>
			</tr>
		</s:iterator>
	</table>
</s:if>

